/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kifas.ui.util;

/**
 *
 * @author dhamarsu
 */
public class ServiceConstants {
    public static final String URL_CONTROLLER = new UrlUtil("ws.url.rest").getWsRestUrl();
//    public static final String URL_CONTROLLER = "http://localhost:8080/kifasController";
    public static final String URL_REFERENCE_NUMBER = "/ReferenceNumber";

    public static final String URL_JENIS_CUSTOMER = "/JenisCustomers";
    public static final String URL_CUSTOMER = "/Customers";
    public static final String URL_SALES = "/Sales";
    public static final String URL_SUPPLIER = "/Suppliers";

    public static final String URL_SATUAN = "/Satuans";
    public static final String URL_JENIS_BARANG = "/JenisBarangs";
    public static final String URL_BARANG = "/Barangs";

    public static final String URL_PENJUALAN = "/Penjualans";
    public static final String URL_PENJUALAN_BY_CUSTOMER = "/Penjualans/Customer";
    public static final String URL_PENJUALAN_IS_CLOSED = "/Penjualans/Closed";
    public static final String URL_PENJUALAN_UNSENT = "/Penjualans/Unsent";
    public static final String URL_PENJUALAN_DATE = "/Penjualans/Date";
    public static final String URL_PENJUALAN_DATE_STATUS_SENT = "/Penjualans/Date/SentStatus";
    public static final String URL_PENJUALAN_DATE_JTH_TEMPO = "/Penjualans/Date/JthTempo";

    public static final String URL_PIUTANG = "/Piutangs";
    public static final String URL_PIUTANG_JTHTEMPO_BLMLNS = "/Piutangs/JatuhTempo/BelumLunas/1";
    public static final String URL_PIUTANG_BY_CUSTOMER = "/Piutangs/Customer";
    public static final String URL_PIUTANG_BY_CUSTOMER_BLMLNS = "/Piutangs/Customer/BelumLunas";
    public static final String URL_BUKU_PIUTANG = "/Buku/Piutang";
    public static final String URL_PIUTANG_BLMLNS = "/Piutangs/BelumLunas/1";
    public static final String URL_PIUTANG_LNS = "/Piutangs/Lunas/1";
    
    public static final String URL_PENGIRIMAN = "/Pengirimans";
    public static final String URL_PENGIRIMAN_BY_PENJUALAN = "/Pengirimans/Penjualan";

    public static final String URL_PEMBELIAN = "/Pembelians";
    public static final String URL_PENERIMAAN = "/Penerimaans";

    public static final String URL_KONTRAKS = "/Kontraks";

    public static final String URL_GUDANG = "/Gudangs";

    public static final String URL_STOK_OPNAME = "/StokOpname";
    public static final String URL_AVAILABLE = URL_STOK_OPNAME + "/Available";
    public static final String URL_AVAILABLE_STOK_BARANG = URL_STOK_OPNAME + "/Available/Barang";
    public static final String URL_AVAILABLE_STOK_GUDANG = URL_STOK_OPNAME + "/Available/Gudang";
    public static final String URL_STOK_POPULATE = URL_STOK_OPNAME + "/Populate";

    public static final String URL_AKUN = "/AkunMasters";
    public static final String URL_AKUN_LEAF = "/AkunMasters/Leaf";

}
